package com.hongxun.design.bean;

import android.text.InputType;

import java.util.ArrayList;
import java.util.List;

import com.hongxun.design.bean.photopassbean.PhotoPassIconBean;
import com.hongxun.design.constant.Constant;
import com.hongxun.design.mytools.MString;
import com.hongxun.design.utils.DataUtil;
import com.hongxun.design.utils.httputil.HttpStringCodeTableUtil;

/**
 * Created by zerdoor_pc on 2016/5/17.
 * 通道拍照——设置图标
 */
public class PhotoPassIconTermBean {
    /**
     * 道路*
     */
    public static List<PhotoPassIconBean> getDaoLu() {
        //*道路id
        //*类型
        //*宽度
        //*杆位与道路的水平距离
        //*杆位与路基高差

        List<PhotoPassIconBean> list = new ArrayList();
        //list.add(new PhotoPassIconBean("道路id","", "", Constant.EdItem, "未填写", null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_TEXT,"类型",MString.road_type, "",Constant.ChoiceItem, DataUtil.getSystemTypeBean(HttpStringCodeTableUtil.transportType)));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"宽度",MString.width, "", Constant.EdItem, null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"杆位与道路的水平距离",MString.horizon_distance, "", Constant.EdItem,  null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"杆位与路基高差",MString.dispersion, "", Constant.EdItem, null));
        return list;
    }

    /**
     * 低压线路*
     */
    public static List<PhotoPassIconBean> getDiYa() {
        //*低压线路id
        //*线高
        //*与被跨越物水平距离
        //*跨越角度
        List<PhotoPassIconBean> list = new ArrayList();
       // list.add(new PhotoPassIconBean("低压线路id","", "", Constant.EdItem, "未填写", null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"线高",MString.height, "", Constant.EdItem,  null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"与被跨越物水平距离", MString.horizon_distance,"", Constant.EdItem, null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"跨越角度", MString.angle, "", Constant.EdItem, null));

        return list;
    }

    /**
     * 房屋*
     */
    public static List<PhotoPassIconBean> getFangWu() {
        //*房屋id
        //*房宽
        //*房高
        //*与被跨越物水平距离
        //*跨越角度
        List<PhotoPassIconBean> list = new ArrayList();
        //list.add(new PhotoPassIconBean("房屋id","", "", Constant.EdItem, "未填写", null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"房宽",MString.width, "", Constant.EdItem,  null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"房高",MString.height, "", Constant.EdItem, null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"与被跨越物水平距离",MString.horizon_distance, "", Constant.EdItem,  null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"跨越角度", MString.angle,"", Constant.EdItem, null));
        return list;
    }

    /**
     * 高压线路*
     */
    public static List<PhotoPassIconBean> getGaoYa() {
        //*高压线路id
        //*线高
        //*与被跨越物水平距离
        //*跨越角度
        //*电压等级
        //*跨越点高程(差)
        List<PhotoPassIconBean> list = new ArrayList();
        //list.add(new PhotoPassIconBean("高压线路id","", "", Constant.EdItem, "未填写", null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"线高",MString.height, "", Constant.EdItem,  null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"与被跨越物水平距离",MString.horizon_distance, "", Constant.EdItem,  null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"跨越角度",MString.angle, "", Constant.EdItem,  null));
        //list.add(new PhotoPassIconBean("电压等级",MString.voltage_grade, "",Constant.ChoiceItem, DataUtil.getSystemTypeBean(HttpStringCodeTableUtil.voltageGrade)));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"跨越点高程(差)",MString.dispersion, "", Constant.EdItem,  null));
        return list;
    }

    /**
     * 沟河流*
     */
    public static List<PhotoPassIconBean> getHeLiu() {
        //*沟河流id
        //*宽度
        //*电杆与沟(岸)边水平距离
        //*电杆与沟(岸)边相对高度
        //*水面与岸边垂直距离
        List<PhotoPassIconBean> list = new ArrayList();
       // list.add(new PhotoPassIconBean("沟河流id","", " ", Constant.EdItem, "未填写", null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"宽度",MString.width, "", Constant.EdItem,  null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"电杆与沟(岸)边水平距离",MString.horizon_distance, "", Constant.EdItem, null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"电杆与沟(岸)边相对高度",MString.relative_height, "", Constant.EdItem,  null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"水面与岸边垂直距离",MString.vertical_distance, "", Constant.EdItem,  null));

        return list;
    }

    /**
     * 通讯线*
     */
    public static List<PhotoPassIconBean> getTongXunXian() {
        //*通讯线id
        //*线高
        //*与被跨越物水平距离
        //*跨越角度
        List<PhotoPassIconBean> list = new ArrayList();
        //list.add(new PhotoPassIconBean("通讯线id", "","", Constant.EdItem, "未填写", null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"线高",MString.height, "", Constant.EdItem, null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"与被跨越物水平距离",MString.horizon_distance, "", Constant.EdItem,  null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"跨越角度",MString.angle, "", Constant.EdItem,  null));
        return list;
    }

    /**
     * 植被*
     */
    public static List<PhotoPassIconBean> getZhiBei() {
        //*植被id
        //*类型
        //*高度
        //*角度
        //*与被跨越物水平距离
        //*砍青数
        List<PhotoPassIconBean> list = new ArrayList();
       // list.add(new PhotoPassIconBean("植被id", "","", Constant.EdItem, "未填写", null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_TEXT,"类型",MString.vegetation_type, "", Constant.ChoiceItem,  DataUtil.getSystemTypeBean(HttpStringCodeTableUtil.vegetationType)));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"高度",MString.height, "", Constant.EdItem, null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"角度", MString.angle,"", Constant.EdItem, null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"与被跨越物水平距离",MString.horizon_distance, "", Constant.EdItem,  null));
        list.add(new PhotoPassIconBean(InputType.TYPE_CLASS_NUMBER,"砍青数",MString.fell_num, "", Constant.EdItem,  null));
        return list;
    }


}
